import MainContainerCustom from '@/components/MainContainerCustom';
import { CBlockCustom, CSummarizCustom } from '@vh-mobile/pro-components';

export default function DemoSummariz() {
  const onClick = (row: any) => {
    console.log('row: ', row);
  };
  const dataSource = [
    { name: '客服记录', value: '1' },
    { name: '客服去电', value: '2' },
    { name: '线索转化', value: '1' },
    { name: '客服签约', value: '6' },
  ];
  return (
    <MainContainerCustom showTabbar tabbarActive="summariz">
      <CBlockCustom title="基础用法">
        <CSummarizCustom dataSource={dataSource} title={'客户任务'} total={15} onClick={onClick} />
      </CBlockCustom>
    </MainContainerCustom>
  );
}
